/*
 * bufferjoins.h
 *
 *  Created on: 04/03/2013
 *      Author: lares
 */

#ifndef BUFFERJOINS_H_
#define BUFFERJOINS_H_

#include <stdio.h>


typedef struct buffer {
	char* buffer;
	int countCapacidade;
	int tamanhoTupla;
	int capacidadeEmBytes;
	FILE* arqTemp;
} Buffer;

extern Buffer _buffer;

void bufferInit(int);
void bufferAdd(char*);
void bufferFlush();

#endif /* BUFFERJOINS_H_ */
